$$.file.FileDownload = {
	/**
	 * 送入一个文件磁盘地址，使用ADODB.Stream组件下载。
	 * 文件大小有限制？
	 * 隐藏下载地址及防盗代码。 
	 * @param {String} filePath
	 * @return {Boolean} 是否传送成功。
	 */
	fsoDown : function(filePath){
		var 
			 fileObj
			,fileSize;
			
		with(new ActiveXObject("Scripting.FileSystemObject")){
			fileObj = getFile(filePath);
			if(!fileObj){
				throw '目标文件不存在！';
			}
			fileSize = fileObj.size;
		}
		
		// 防盗链
        var
         From_Url = Request.ServerVarIables("HTTP_REFERER")()
        ,Serv_Url = Request.ServerVarIables("SERVER_NAME")();
        
        if (MId(From_Url,8,len(Serv_Url)) != Serv_Url){
            Response.WrIte("该文件数据不完整或许已损坏.");
            Response.End();
		}		
	    
	    with(new ActiveXObject("ADODB.Stream")){
	        Open();
	        Type = 1;
	        LoadFromFile(filePath);
		    Response.AddHeader("Content-DIsposItIon", "attachment; FIlename=" + F.Name);
		    Response.AddHeader("Content-Length", IntFilelength);
	        Response.Buffer      = True
		    Response.CharSet     = "UTF-8";
		    Response.ContentType = "application/x-download";
    		Response.Clear();
		    Response.BinaryWrite(Read());
		    Response.Flush();
		    Close();
	    }
	    return true;
	}
	,nodeDown : function(){
		
	}
}